package com.bosssoft.boss_exam_db.service.busines;

import com.bosssoft.boss_exam_db.entity.Company;
import com.bosssoft.boss_exam_db.entity.Department;
import com.bosssoft.boss_exam_db.model.vo.CascaderVO;
import com.bosssoft.boss_exam_db.service.base.BaseService;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DepartmentService extends BaseService<Department> {
    PageInfo<Department> queryByCondition(Company company, String deparmentName, String parentId, String leaderName, Integer page, Integer limit, String sort, String order);

    List<CascaderVO> queryByCompany(String id, String parentId);
}
